procedure TJQGMap3Frm.MultiMarkerMouseOverEvent(Sender: TObject; AParams: TStringList);
begin
  IWCGJQGMap3.JQGMapV3Options.InfoWindow.Options.ContentFunc.Script:= IWCGJQGMap3.CurrEventParamsJs[2] + '.data';
  IWCGJQGMap3.JQGMapV3Options.InfoWindow.Anchor.Script:= IWCGJQGMap3.CurrEventParamsJs[0];
  IWCGJQGMap3.JQGMapV3Options.InfoWindow.ApplyProps;
end;

procedure TJQGMap3Frm.MultiMarkerMouseOutEvent(Sender: TObject; AParams: TStringList);
begin
  IWCGJQGMap3.JQGMapV3Options.InfoWindow.Close;
end;

with IWCGJQGMap3.JQGMapV3Options do
begin
  Map.Options.Zoom:= 6;
  Map.Options.Center.Latitude:= 40.36267630;
  Map.Options.Center.Longitude:= -8.453534200000002;
  Map.Options.Draggable:= False;
  {PORTO}
  LMarker:= Marker.Values.Add;
  LMarker.Data:= 'Porto';
  LMarker.LatLng.Latitude:= 41.15668920;
  LMarker.LatLng.Longitude:= -8.623925399999999;
  {MEALHADA}
  LMarker:= Marker.Values.Add;
  LMarker.Data:= 'Mealhada';
  LMarker.LatLng.Latitude:= 40.36267630;
  LMarker.LatLng.Longitude:= -8.453534200000002;
  {LISBON}
  LMarker:= Marker.Values.Add;
  LMarker.Data:= 'Lisbon';
  LMarker.LatLng.Latitude:= 38.72529930;
  LMarker.LatLng.Longitude:= -9.150036400000001;

  Marker.Events.OnMouseOver.OnEvent:= MultiMarkerMouseOverEvent;
  Marker.Events.OnMouseOut.OnEvent:= MultiMarkerMouseOutEvent;
end;
